package com.chenyue.cm.msg.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.msg.dao.JdMsgMapper;
import com.chenyue.cm.msg.domain.JdMsg;
import com.chenyue.cm.msg.service.JdMsgService;
import org.springframework.stereotype.Service;


/**
 * @author chenyue-cm
 */
@Service(value = "JdMsgService")
public class JdMsgServiceImpl extends BaseServiceImpl<JdMsg> implements JdMsgService {

    private final JdMsgMapper jdMsgMapper;

    public JdMsgServiceImpl(@Qualifier("jdMsgMapper") JdMsgMapper jdMsgMapper) {
        this.jdMsgMapper = jdMsgMapper;
    }

    @Override
    @Resource(name = "jdMsgMapper")
    public void setBaseMapper(LcBaseMapper<JdMsg, Serializable> baseMapper) {
        this.baseMapper = baseMapper;
    }

}
